package com.tedu.egmybatis2.mapper;

import com.tedu.egmybatis2.pojo.Product;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface ProductMapper {
    int insert(Product product);
    int deleteProductById(Integer id);
    int updateProductById(Product product);
    Product selectProduct(Integer id);
    List<Product> selectProductAll();
}
